package itheima.com.zuoye.d06;

public class Manager extends Insiders{
//    年终奖额
    private double bonus;

    public Manager(String workNumber, String name, int age, double bonus) {
        super(workNumber, name, age);
        this.bonus = bonus;
    }


    public Manager(double bonus) {
        this.bonus = bonus;
    }

    public Manager() {

    }

    public double getBonus() {
        return bonus;
    }

    public void setBonus(double bonus) {
        this.bonus = bonus;
    }

    @Override
    public void A() {
        System.out.println("经理A"+getName());
    }
}

